package com.System.service;

import com.System.pojo.*;
import com.System.pojo.Bar;
import com.System.pojo.Comment;
import com.System.pojo.Post;

import java.util.List;

public interface User {
    public List<User_Bar_Relationship> selectFocusRelation(com.System.pojo.User user);
    public Bar selectFocus(User_Bar_Relationship userBarRelationship);
    public Bar selectBar(Bar bar);
    public User_Bar_Relationship selectRelationship(User_Bar_Relationship userBarRelationship);
    public void addBar(Bar bar);
    public void addRelationship(User_Bar_Relationship userBarRelationship);
    public List<Support>selectAllMySupport(com.System.pojo.User user);
    public Comment selectMyLikeComment(Support support);
    public List<Bar> selectHotPosts();
    public List<Post>selectAllPosts();
    public void registerUser(com.System.pojo.User user);
    public com.System.pojo.User selectTarget(com.System.pojo.User user);
}
